using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(fileName = "CardItemData_SO", menuName = "Item/CardItemData")]
public class CardItemData_SO : ScriptableObject
{
    public List<CardItem> cardItemList;

    public CardItem GetCardItem(int itemID)
    {
        return cardItemList.Find(c => c.itemID == itemID);
    }
}